<?php $this->load->view('index/header.html'); ?>

		<!-- Main -->
			<div id="main">
				
				
					<section class="content">
						<h2><?=$article->title?></h2>
						<div class="info">
							<span>[<?=$cate->name?>]</span><span><?=$article->time?></span><span><?=$witter->passid?></span></div>
								
						<?=$article->text?>	
						</section>

						<section>
							<ul>
								<li>上一篇：<?php echo $pre_art?"<a href='$pre_art->id'>$pre_art->title</a>":"无此文章";?></li>
								<li>下一篇：<?php echo $next_art?"<a href='$next_art->id'>$next_art->title</a>":"无此文章";?></li>
							</ul>
						</section>
	
<style type="text/css">
<!--
.info { text-align:right; border-bottom:1px solid #ccc; margin-bottom:2em;}
.info span { margin-right:10px;}
-->
</style>					

			</div>
			
<?php $this->load->view('index/footer.html'); ?>
<script type="text/javascript">
<!--
	uParse('.content', {
    rootPath: '<?php echo base_url('resource/ueditor/'); ?>'
})
//-->
</script>